#ifndef MDX2_RENDER_H_
#define MDX2_RENDER_H_

// Flags
#define FL_RENDER_UNLIT         0x01
#define FL_RENDER_UNFOGGED      0x02
#define FL_RENDER_TWOSIDED      0x04
#define FL_RENDER_BILLBOARDED   0x08
#define FL_RENDER_NO_Z_BUFFER   0x10

// Mode
#define Combiners_Opaque        0
#define Combiners_Mod           1
#define Combiners_Decal         2
#define Combiners_Add           3
#define Combiners_Mod2x         4
#define Combiners_Fade          5

// Description: Render settings referenced in MDX2_TextureMapping
// Count:  MDX2_Header->nRenderFlags
// Offset: MDX2_Header->ofsRenderFlags
struct RenderFlags
{
    uint16_t Flags;
    uint16_t Mode;
};

#endif // MDX2_RENDER_H_